/**
 * Created by Shaobing on 24/05/2014.
 */
public class AsteriskNVertical {
    private final int _n;

    public AsteriskNVertical(int n) {
        _n = n;
    }

    @Override
    public String toString() {
        StringBuilder stringBuilder = new StringBuilder();

        for (int i = 0; i < _n; i++) {
            stringBuilder.append("*\n");
        }
        return stringBuilder.toString();
    }
}
